package 面向对象.Test;

import 面向对象.Cat;

public class CatTest {
    public static void main(String[] args) {
        Cat c=new Cat();
        c.name="汤姆";
        c.age=3;
        c.color="灰蓝色";
        c.eat();
        c.catchMouse();
        c.show();
        Cat c1=new Cat("加菲",3,"黄色");
        c1.show();
        c1.eat();

    }
}
